<# functions with parameters #>
function add{
    Write-Host("test {0} {1}" -f $args[0], $args[1])
    # Write-Host("result"-f $args[0]+$args[1])
}

# add
# add "p1" "p2"
# add 1 2
<# the more popular function form #>
function SayHello($name, $count=3)
{
    for(;$count -gt 0;$count--)
    {
        Write-Host("Hello {0}!" -f $name)
    }   
}
# SayHello  nick 2
function SayHelloParam
{
    Param
    (
        $name,
        $count=3
    )

    for(;$count -gt 0;$count--)
    {
        Write-Host("Hello {0}!" -f $name)
    }   
}
# SayHelloParam closureParam 3

# $env:360netRepair

function v{
    param(
        $en
    )
    # return $env:(-f $args)
}

